Skip to content

feat(features): register organizations:am3-tier permanent feature flag#117805

Merged
chromy merged 1 commit into
masterfrom
hector/register-am3-tier-feature-flag
Jun 16, 2026
Merged

feat(features): register organizations:am3-tier permanent feature flag#117805
chromy merged 1 commit into
masterfrom
hector/register-am3-tier-feature-flag

Conversation

@chromy

@chromy chromy commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Registers organizations:am3-tier in src/sentry/features/permanent.py so it is declared with the default feature manager.

The flag is referenced in src/sentry/ingest/consumer/processors.py (used in collect_span_metrics to gate span count tracking) but was missing from the permanent feature registry. In self-hosted and single-tenant deployments this causes:

Feature organizations:am3-tier is not registered with sentry.features.default_manager

The flag is managed by getsentry/getsentry for sentry.io billing tiers (AM3), so the default here is False — same pattern as organizations:spans-usage-tracking.

Changes

  • Added "organizations:am3-tier": False to permanent_organization_features in alphabetical order

Refs


View Session in Sentry

The flag is used in sentry/ingest/consumer/processors.py but was not
registered in the default manager, causing errors in self-hosted
deployments. Mirrors the pattern used by organizations:spans-usage-tracking.

Refs getsentry/self-hosted#4377

Co-Authored-By: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 16, 2026
@chromy chromy marked this pull request as ready for review June 16, 2026 16:03
Comment thread src/sentry/features/permanent.py
@chromy chromy merged commit b67a104 into master Jun 16, 2026
86 checks passed
@chromy chromy deleted the hector/register-am3-tier-feature-flag branch June 16, 2026 17:40
sehr-m pushed a commit that referenced this pull request Jun 23, 2026
#117805)

## Summary

Registers `organizations:am3-tier` in `src/sentry/features/permanent.py`
so it is declared with the default feature manager.

The flag is referenced in `src/sentry/ingest/consumer/processors.py`
(used in `collect_span_metrics` to gate span count tracking) but was
missing from the permanent feature registry. In self-hosted and
single-tenant deployments this causes:

> Feature organizations:am3-tier is not registered with
sentry.features.default_manager

The flag is managed by getsentry/getsentry for sentry.io billing tiers
(AM3), so the default here is `False` — same pattern as
`organizations:spans-usage-tracking`.

## Changes

- Added `"organizations:am3-tier": False` to
`permanent_organization_features` in alphabetical order

## Refs

- Fixes getsentry/self-hosted#4377

---
[View Session in
Sentry](https://sentry.sentry.io/traces/?project=4510944073809921&query=gen_ai.conversation.id%3A%22slack%3ACUHS29QJ0%3A1781575403.587189%22)

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature organizations:am3-tier is not registered with sentry.features.default_manager

2 participants